<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

        </div><!-- end .row -->
    </div><!-- end .container -->
</div><!-- end #body -->

<footer id="footer" role="contentinfo">
    <div class="container">
        <div class="footer-content">
            <div class="footer-info">
                <p class="copyright">
                    &copy; <?php echo date('Y'); ?> 
                    <a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a>.
                </p>
                <p class="powered-by">
                    <?php _e('由 <a href="http://www.typecho.org" target="_blank">Typecho</a> 强力驱动'); ?> 
                    | Theme by <a href="https://github.com/yourusername/your-theme" target="_blank">天神大模型开源生态社区主题</a>
                </p>
            </div>
            <div class="footer-social">
                <a href="#" title="Github" target="_blank"><i class="fab fa-github"></i></a>
                <a href="#" title="Twitter" target="_blank"><i class="fab fa-twitter"></i></a>
                <a href="#" title="Weibo" target="_blank"><i class="fab fa-weibo"></i></a>
            </div>
        </div>
        
        <div class="back-to-top">
            <a href="#" title="返回顶部"><i class="fas fa-arrow-up"></i></a>
        </div>
    </div>
    
    <!-- 添加返回顶部功能的JavaScript -->
    <script>
    document.addEventListener('DOMContentLoaded', function() {
        var backToTop = document.querySelector('.back-to-top');
        
        window.addEventListener('scroll', function() {
            if (window.pageYOffset > 200) {
                backToTop.classList.add('show');
            } else {
                backToTop.classList.remove('show');
            }
        });
        
        backToTop.addEventListener('click', function(e) {
            e.preventDefault();
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });
    });
    </script>
</footer>

<?php $this->footer(); ?>
</body>
</html>
